package learn.basics.interface1.demo3;

interface MyInterfaceA{
    public abstract void MethodA();

    public abstract void MethodCommon();

    public default void MethodDefault(){
        System.out.println("AAA");
    }

    public static void Me(){
        System.out.println("111");
    }
}

interface MyInterfaceB{
    public abstract void MethodB();

    public abstract void MethodCommon();

    public default void MethodDefault(){
        System.out.println("BBB");
    }
}

interface MyInterface extends MyInterfaceA,MyInterfaceB{

    public abstract void Method();

    @Override
    default void MethodDefault() {

    }
}

class MyInterfaceImpl implements MyInterface{

    @Override
    public void MethodA() {

    }

    @Override
    public void MethodB() {

    }

    @Override
    public void MethodCommon() {

    }

    @Override
    public void Method() {

    }
}




public class TestInterface {
}
